﻿namespace quartz_pro_service.Models
{
    /// <summary>
    /// 脚本配置模型
    /// </summary>
    public class JobSetting
    {
        /// <summary>
        /// 脚本名称
        /// </summary>
        public string Name { get; set; } = "";

        /// <summary>
        /// cron 表达式
        /// </summary>
        public string Cron { get; set; } = "";

        /// <summary>
        /// 是否执行此脚本
        /// </summary>
        public bool Enabled { get; set; }
    }
}
